/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * AppointmentMonthlyViewPanel.java
 *
 * Created on May 7, 2011, 8:35:04 PM
 */
package appshed.UI;

/**
 *
 * @author Nithin
 */
public class AppointmentMonthlyViewPanel extends javax.swing.JPanel {

    /** Creates new form AppointmentMonthlyViewPanel */
    public AppointmentMonthlyViewPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        appointmentCalender = new com.toedter.calendar.JCalendar();
        selectDateButton = new javax.swing.JButton();

        appointmentCalender.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        appointmentCalender.setFont(new java.awt.Font("Tahoma", 0, 18));
        appointmentCalender.setMaxSelectableDate(new java.util.Date(253370786464000L));
        appointmentCalender.setMinSelectableDate(new java.util.Date(-62135747936000L));
        appointmentCalender.setWeekOfYearVisible(false);

        selectDateButton.setText("Select Date");
        selectDateButton.setActionCommand("");
        selectDateButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                selectDateButtonActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(appointmentCalender, javax.swing.GroupLayout.PREFERRED_SIZE, 611, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(524, Short.MAX_VALUE)
                .addComponent(selectDateButton)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(appointmentCalender, javax.swing.GroupLayout.PREFERRED_SIZE, 364, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(selectDateButton)
                .addContainerGap(19, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void selectDateButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_selectDateButtonActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_selectDateButtonActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    public com.toedter.calendar.JCalendar appointmentCalender;
    public javax.swing.JButton selectDateButton;
    // End of variables declaration//GEN-END:variables
}
